package com.leinao.job.dto;

import java.io.Serializable;

public class ProjectJobViewDto implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8981776286165366468L;
    /**
     * 任务id
     */
	private Long id;
    /**
     * 任务配置
     */
	private String config;
    /**
     * 项目id
     */
    private Long projectId;
    /**
     * 项目名称
     */
    private String projectName;
    /**
     * 任务名称
     */
    private String jobName;
	/**
	 * 任务编号
	 */
    private Integer codeNo;
    /**
     * 任务状态
     */
    private String state;
	/**
	 * 操作类型状态
	 */
    private String executionType;
    /**
     * 重启次数
     */
    private Integer retries;
    /**
     * 任务的容器运行完成时间，若有多个容器创建，获取最晚结束的容器时间
     */
    private Long completedTime;
    /**
     * 用户id
     */
    private String userId;
    /**
     * 任务的容器创建时间，若有多个容器创建，获取最早启动的容器时间
     */
    private Long createTime;
    /**
     * 更新时间
     */
    private Long updateTime;
    /**
     * 任务创建的时间
     */
    private Long taskCreateTime;
    /**
     * 任务用时
     */
    private Long timeConsuming;
    /**
      * 任务标签
      */
    private String jobTag;
    /**
     * 任务备注
     */
    private String remark;

    /**
     * 语言
     */
    private String language;

    /**
     * 算法框架
     */
    private String algorithm;

    /**
     * tensorboardUrl
     */
    private String tensorboardUrl;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getConfig() {
        return config;
    }

    public void setConfig(String config) {
        this.config = config;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public Integer getCodeNo() {
        return codeNo;
    }

    public void setCodeNo(Integer codeNo) {
        this.codeNo = codeNo;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getExecutionType() {
        return executionType;
    }

    public void setExecutionType(String executionType) {
        this.executionType = executionType;
    }

    public Integer getRetries() {
        return retries;
    }

    public void setRetries(Integer retries) {
        this.retries = retries;
    }

    public Long getCompletedTime() {
        return completedTime;
    }

    public void setCompletedTime(Long completedTime) {
        this.completedTime = completedTime;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }


    public Long getTaskCreateTime() {
		return taskCreateTime;
	}

	public void setTaskCreateTime(Long taskCreateTime) {
		this.taskCreateTime = taskCreateTime;
	}

	public Long getTimeConsuming() {
		return timeConsuming;
	}

	public void setTimeConsuming(Long timeConsuming) {
		this.timeConsuming = timeConsuming;
	}

	public String getJobTag() {
        return jobTag;
    }

    public void setJobTag(String jobTag) {
        this.jobTag = jobTag;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public String getAlgorithm() {
        return algorithm;
    }

    public void setAlgorithm(String algorithm) {
        this.algorithm = algorithm;
    }

    public String getTensorboardUrl() {
        return tensorboardUrl;
    }

    public void setTensorboardUrl(String tensorboardUrl) {
        this.tensorboardUrl = tensorboardUrl;
    }

    @Override
    public String toString() {
        return "ProjectJobViewDto{" +
                "id=" + id +
                ", config='" + config + '\'' +
                ", projectId=" + projectId +
                ", projectName='" + projectName + '\'' +
                ", jobName='" + jobName + '\'' +
                ", codeNo=" + codeNo +
                ", state='" + state + '\'' +
                ", executionType='" + executionType + '\'' +
                ", retries=" + retries +
                ", completedTime=" + completedTime +
                ", userId='" + userId + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", taskCreateTime=" + taskCreateTime +
                ", timeConsuming=" + timeConsuming +
                ", jobTag='" + jobTag + '\'' +
                ", remark='" + remark + '\'' +
                ", language='" + language + '\'' +
                ", algorithm='" + algorithm + '\'' +
                '}';
    }
}